﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WMSSyncData.Model
{
    /// <summary>
    /// 采购订单收货中间表
    /// </summary>
    [Table(TableName = "ttddev102101")]
    public class tddev102
    {

        public string Guid { get; set; }
        public string WMSPO { get; set; }
        /// <summary>
        /// 采购订单号
        /// </summary>
        public string orno { get; set; }
        /// <summary>
        /// 采购订单行号
        /// </summary>
        public int pono { get; set; }
        /// <summary>
        /// 顺序号
        /// </summary>
        public int sqnb { get; set; }

        /// <summary>
        /// 事务类型 收货/发料
        /// </summary>
        public string ittp { get; set; }
        /// <summary>
        /// 料号
        /// </summary>
        public string item { get; set; }
        /// <summary>
        /// 采购订单数量
        /// </summary>
        //public double qoor { get; set; }
        /// <summary>
        /// 采购单位
        /// </summary>
        public string cuqp { get; set; }
        /// <summary>
        /// 收货数量
        /// </summary>
        public string reci { get; set; }

        public int fire { get; set; }
        /// <summary>
        /// 仓库
        /// </summary>
        public string cwar { get; set; }
        /// <summary>
        /// 库位
        /// </summary>
        public string rclo { get; set; }
        /// <summary>
        /// 批次号
        /// </summary>
        //public string lot1 { get; set; }
        /// <summary>
        /// 供应商生产时间
        /// </summary>
        public DateTime?  date { get; set; }
        /// <summary>
        /// 中间表状态
        /// </summary>
        public int host { get; set; }
        /// <summary>
        /// ERP处理错误信息
        /// </summary>
        public string mess { get; set; }
        /// <summary>
        /// WMS写入日期
        /// </summary>
        public DateTime? edte1 { get; set; }
        /// <summary>
        /// ERP读取日期
        /// </summary>
        public DateTime? wdte1 { get; set; }
        /// <summary>
        /// ERP处理日期
        /// </summary>
        public DateTime? wdte2 { get; set; }

        public int REFCNTD { get; set; }

        public int REFCNTU { get; set; }

        public int ISEX { get; set; }

        public string bpdn { get; set; }
    }
}
        